home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000266_jaltman2@nyc.rr.com_Thu Feb 6 10:33:02 EST 2003.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  57 lines

  1. Article: 14060 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!news-out.cwix.com!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!cyclone.rdc-nyc.rr.com!news-out.nyc.rr.com!twister.nyc.rr.com.POSTED!not-for-mail
  3. From: "Jeffrey Altman [Road Runner NYC]" <jaltman2@nyc.rr.com>
  4. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130
  5. X-Accept-Language: en-us, en
  6. MIME-Version: 1.0
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Using HTTP functions in C-Kermit
  9. References: <8ce22d01.0302051540.6fc3e640@posting.google.com>
  10. In-Reply-To: <8ce22d01.0302051540.6fc3e640@posting.google.com>
  11. Content-Type: text/plain; charset=us-ascii; format=flowed
  12. Content-Transfer-Encoding: 7bit
  13. Lines: 34
  14. Message-ID: <Z3j0a.111$3e5.165084@twister.nyc.rr.com>
  15. Date: Thu, 06 Feb 2003 01:42:17 GMT
  16. NNTP-Posting-Host: 66.108.138.151
  17. X-Complaints-To: abuse@rr.com
  18. X-Trace: twister.nyc.rr.com 1044495737 66.108.138.151 (Wed, 05 Feb 2003 20:42:17 EST)
  19. NNTP-Posting-Date: Wed, 05 Feb 2003 20:42:17 EST
  20. Organization: Road Runner - NYC
  21. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14060
  22.  
  23. The problem is that "q?s=one&d=v1" is not a valid file name to store 
  24. resulting data.  Therefore, you need to provide a valid local filename
  25.  
  26.    HTTP GET q?s=one&d=v1  <local-file-name>
  27.  
  28.  
  29.  
  30. Dan Skinner wrote:
  31. > I'm trying to emulate this form.
  32. > -----------------------------------------------------------------------------
  33. > <form  action=/q><td align=center nowrap><FONT face=arial size=2>Enter
  34. > symbol(s)</Font> <input size=15 name=s><select name=d><option
  35. > value=v1 selected>Basic<option value=v2>DayWatch<option
  36. > value=v3>Performance<option value=e>Real-time Mkt<option
  37. > value=t>Detailed
  38. > <option value=c>Chart
  39. > <option value=r>Research
  40. > <option value=o>Options
  41. > <option value=f8>Order Book
  42. > </select><input value=" Get " type=submit>  <a href=/l><font
  43. > face=arial size=2>Symbol Lookup</font></a></td></form>
  44. > -----------------------------------------------------------------------------
  45. > a browser url of   http://finance.yahoo.com/q?s=one&d=v1 works fine
  46. > in C-Kermit  
  47. > http  open  finance.yahoo.com   
  48. > is happy.however
  49. > http get q?s=one&d=v1  
  50. > yields error -  (wildcards not allowed - ?s=one&d=v1 ) (the ? Is
  51. > entred with \?)
  52. > How do I do a form with method=get?
  53. > Help appreciated
  54. > Regards...Dan.
  55.  
  56.